package com.jiyun.controller;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jiyun.foundation.FoundationClient;
import com.jiyun.service.FoundationClientService;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@Slf4j
@Tag(name = "用户API接口管理")
@RestController
@RequestMapping("/foundation")
public class FoundationClientController {
    @Resource
    private FoundationClientService foundationClientService;

    @RequestMapping("/findfoundation")
    public Page<FoundationClient> findfoundation(Integer current, Integer size, @RequestBody FoundationClient fc){
        Page<FoundationClient> page = foundationClientService.findfoundation(current, size, fc);
        return page;
    }
}
